<?php if (get_option('xs_adzwfoot') == 'Hide') { ?>
<?php { echo ''; } ?>
<?php } else { include(TEMPLATEPATH . '/includes/ad_zwfoot.php'); } ?>
<div class="link">
	<h3 class="title">
		<div>
			<span><?php bloginfo('name'); ?>相关</span>
		</div>
	</h3>
	<ul id="menu-foot" class="clearfix">
		    <?php wp_nav_menu( array( 'menu' => 'xiaoshuo_about', 'depth' => 1) );?>
	</ul>
</div>
<div class="link">
	<h3 class="title">
		<div>
			<span><?php bloginfo('name'); ?>友情链接</span>
		</div>
	</h3>
	<ul class="clearfix">
				<?php wp_list_bookmarks('orderby=id&categorize=0&category=&title_li='); ?>
		</ul>
</div>
<div class="footer">
	版权所有：
	<a title='<?php bloginfo('name'); ?>小说全本'
		href='<?php bloginfo(url) ;?>' target='_blank'><?php bloginfo('name'); ?>全本小说站</a>
			Copyright &copy; 2011-<?php echo date('Y'); ?> <a
		href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>
	. All rights reserved.
	<a href="<?php echo get_option('xs_map'); ?>" title="网站地图"
		target="_blank">网站地图</a>
			<?php echo stripslashes(get_option('xs_track_code')); ?>
			<div class="copyright">
		声明：
		<a href="<?php bloginfo(url) ;?>" target="_blank"><?php bloginfo(name) ?></a>
		所有内容均来源于互联网，本站只做演示，内容对错于本站无关。如果有能力，请支持正版！
	</div>

</div>
</div>

<script charset="utf-8" src="<?php bloginfo('template_url');?>/min/?b=<?php echo str_replace(get_bloginfo('home') . '/', '', get_bloginfo('template_directory')); ?>/js&f=jquery.js,jquery.cookie.js,jquery.atooltip.js"></script>

<script type="text/javascript">
$(function(){ 
	$('#new a').aToolTip();
}); 
</script>

<?php if(is_single()){?>
<script type="text/javascript">
$(document).ready(function() {
	var cookie_style = $.cookie("mystyle");
	if(cookie_style==null){
		$(".display a:eq(1)").attr("id","cur3");
	}else{
   $(".container").attr("id",cookie_style);
	 $(".display a[class="+cookie_style+"]").attr("id","cur3");
	 
	};
	
	var cookie_style2 = $.cookie("mystyle2");
	if(cookie_style2==null){
		$(".font a:first").attr("id","cur2");
		}else{
   $(".article .content").attr("id",cookie_style2);
	 $(".font a[class="+cookie_style2+"]").attr("id","cur2");
	 
	};
	
	var cookie_style3 = $.cookie("mystyle3");
	if(cookie_style3==null){
		$(".article").attr("id","bg1");
		}else{
   $(".article").attr("id",cookie_style3);
	 $(".color a[class="+cookie_style3+"]").attr("id","cur");
	 
	};

	
	$(".display a").click(function(){
		var aaa=$(this).attr("class");
		$(".container").attr("id",aaa);
		$(this).attr("id","cur3").siblings().removeAttr("id","cur3");
		$.cookie( "mystyle",aaa,{path:'/', expires:30});
	});
	
	
	$(".font a").click(function(){
		var aaa=$(this).attr("class");
		$(".article .content").attr("id",aaa);
		$(this).attr("id","cur2").siblings().removeAttr("id","cur2");
		$.cookie( "mystyle2",aaa,{path:'/', expires:30});
	});
	
	
	$(".color a").click(function(){
		var aaa=$(this).attr("class");
		$(".article").attr("id",aaa);
		$(this).attr("id","cur").siblings().removeAttr("id","cur");
		$.cookie( "mystyle3",aaa,{path:'/', expires:30});
	});
	
	
	$(document).keyup(function(event){
	   if(event.keyCode == 37){
			var prev = $("a[rel=prev]").attr("href");
			window.location.href = prev;
	   }else if (event.keyCode == 39){
			var next = $("a[rel=next]").attr("href");
			window.location.href = next;
	   }else if (event.keyCode == 13){
			 var enter="<?php bloginfo(url);?>";
			window.location.href = enter;
	};
});
	
});
</script>
<?php }?>
<script type="text/javascript"
	src="http://v3.jiathis.com/code/jia.js?uid=1354494519192955"></script>
</body>
</html>